var Validate = {
    isTel: function (s) {
        var patrn = /^((\+?86)|(\+86))?\d{3,4}-\d{7,8}(-\d{3,4})?$/
        if (!patrn.exec(s)) return false
        return true
    },
    isMobile: function (value) {
        var validateReg = /^((\+?86)|(\+86))?1\d{10}$/;
        return validateReg.test(value);
    },
    cellPhone: function (cellPhoneNumber) {
        if (!Validate.isMobile(cellPhoneNumber)) {
            return false;
        } else {
            return true
        }
    },
    telePhone: function (telePhoneNumber) {
        if (!Validate.isTel(telePhoneNumber)) {
            return false;
        } else {
            return true
        }
    }
}